package o;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

public class fhn implements ffc, fez {
    private static final transient fib CODEC = new fib();
    private final boolean mIsExternalModule = false;
    private final fjk<Context> mTargetContext = null;

    private fhn() {
    }

    public Context getTargetContext() {
        if (this.mTargetContext != null) {
            return (Context) this.mTargetContext.ॱ();
        }
        return null;
    }

    public boolean isExternalModule() {
        return this.mIsExternalModule;
    }

    public void release() {
        if (this.mTargetContext != null) {
            this.mTargetContext.ˎ();
        }
    }

    public static fhn from(Intent intent) {
        if (intent != null) {
            Bundle ˋ = fjn.ˎ(intent).ˋ("__RunningModuleInfo__");
            if (ˋ != null) {
                return (fhn) CODEC.ˏ(ˋ, new fhn());
            }
        }
        return null;
    }
}
